package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 员工工作任务表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "JobTaskEntity", name = "job_task", comment = "员工工作任务表")
public class JobTaskEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 员工主键
     */
    @MyColumn(value = "userId", name = "user_id", comment = "员工主键", required = true)
    private Integer userId;

    /**
     * 任务类型编码
     */
    @MyColumn(value = "taskTypeCode", name = "task_type_code", comment = "任务类型编码", required = true)
    private Integer taskTypeCode;

    /**
     * 任务类型
     */
    @MyColumn(value = "taskType", name = "task_type", comment = "任务类型", required = true)
    private String taskType;

    /**
     * 关联表名称
     */
    @MyColumn(value = "tableName", name = "table_name", comment = "关联表名称", required = true)
    private String tableName;

    /**
     * 关联表主键
     */
    @MyColumn(value = "tableId", name = "table_id", comment = "关联表主键", required = true)
    private Integer tableId;


    public String getBusinessCode() {
        return businessCode;
    }

    public JobTaskEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public JobTaskEntity setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public Integer getTaskTypeCode() {
        return taskTypeCode;
    }

    public JobTaskEntity setTaskTypeCode(Integer taskTypeCode) {
        this.taskTypeCode = taskTypeCode;
        return this;
    }

    public String getTaskType() {
        return taskType;
    }

    public JobTaskEntity setTaskType(String taskType) {
        this.taskType = taskType;
        return this;
    }

    public String getTableName() {
        return tableName;
    }

    public JobTaskEntity setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    public Integer getTableId() {
        return tableId;
    }

    public JobTaskEntity setTableId(Integer tableId) {
        this.tableId = tableId;
        return this;
    }
}